import {isEmpty,prettyPrint} from "."
const error = (textOrTitle: string, content = '') => {
  const title = isEmpty(content) ? 'Error' : textOrTitle;
  const text = isEmpty(content) ? textOrTitle : content;
  prettyPrint(title, text, '#F56C6C');
};
export {error} 